package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-SR-srtp-路径参数对象 element_sr_srtp_path
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementSrSrtpPath extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 宿LSR ID */
    @Excel(name = "宿LSR ID")
    private String lsrId;

    /** 出端口 */
    @Excel(name = "出端口")
    private String outTerminal;

    /** 本端TUNNEL ID */
    @Excel(name = "本端TUNNEL ID")
    private String tunnelId;

    /** 对端TUNNEL ID */
    @Excel(name = "对端TUNNEL ID")
    private String oppositeTunnelId;

    /** 收Path ID */
    @Excel(name = "收Path ID")
    private String sPathId;

    /** 发Path ID */
    @Excel(name = "发Path ID")
    private String rPathId;

    /** 环路阻断开关 */
    @Excel(name = "环路阻断开关")
    private String ringSwitch;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setLsrId(String lsrId) 
    {
        this.lsrId = lsrId;
    }

    public String getLsrId() 
    {
        return lsrId;
    }
    public void setOutTerminal(String outTerminal) 
    {
        this.outTerminal = outTerminal;
    }

    public String getOutTerminal() 
    {
        return outTerminal;
    }
    public void setTunnelId(String tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public String getTunnelId() 
    {
        return tunnelId;
    }
    public void setOppositeTunnelId(String oppositeTunnelId) 
    {
        this.oppositeTunnelId = oppositeTunnelId;
    }

    public String getOppositeTunnelId() 
    {
        return oppositeTunnelId;
    }
    public void setsPathId(String sPathId) 
    {
        this.sPathId = sPathId;
    }

    public String getsPathId() 
    {
        return sPathId;
    }
    public void setrPathId(String rPathId) 
    {
        this.rPathId = rPathId;
    }

    public String getrPathId() 
    {
        return rPathId;
    }
    public void setRingSwitch(String ringSwitch) 
    {
        this.ringSwitch = ringSwitch;
    }

    public String getRingSwitch() 
    {
        return ringSwitch;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("lsrId", getLsrId())
            .append("outTerminal", getOutTerminal())
            .append("tunnelId", getTunnelId())
            .append("oppositeTunnelId", getOppositeTunnelId())
            .append("sPathId", getsPathId())
            .append("rPathId", getrPathId())
            .append("ringSwitch", getRingSwitch())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
